package com.vhall.component.entity.lottery.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.vhall.component.framework.common.annotation.ParamName;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * 控制台查询抽奖信息
 *
 * @author longzhen.gong
 * @date 2021/6/25 11:37
 */
@Data
public class LotteryListInfoReqVo implements Serializable {

    private Integer page;

    @ParamName("page_size")
    private Integer pageSize;

    @NotBlank(message = "房间信息不能为空")
    @ParamName("room_id")
    private String roomId;

    @ParamName("start_time")
    @JsonProperty("start_time")
    private String beginTime;


    @ParamName("end_time")
    @JsonProperty("end_time")
    private String endTime;

    /**
     * asc,desc
     */
    @JsonProperty("sort_type")
    @ParamName("sort_type")
    private String sortType;

    private String from;

    private String en;


}
